package com.my.java.json;

import java.util.List;

public class Teacher {

	private String name;
	private int age;
	private List<Course> coursies;

	public List<Course> getCoursies() {
		return coursies;
	}

	public void setCoursies(List<Course> coursies) {
		this.coursies = coursies;
	}

	public Teacher() {

	}

	public Teacher(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getAge() {
		return age;
	}
}
